﻿using AutoMapper;
using net.xBei.Models.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace net.xBei.Models {
    /// <summary>
    /// 
    /// </summary>
    public abstract class AutoMapProfile: Profile {
        /// <summary>
        /// 
        /// </summary>
        protected AutoMapProfile() {
            SourceMemberNamingConvention = new UpperUnderscoreNamingConvention();
            DestinationMemberNamingConvention = new PascalCaseNamingConvention();

            //CreateMap<com.depoga.Database.B2B.ORDER_TAG, json.OrderTag>()
            //    .ForMember(d => d.Value, opt => opt.MapFrom(o => o.TAG_KEY))
            //    .ForMember(d => d.Name, opt => opt.MapFrom(o => o.TAG_NAME));
        }
    }
}
